package work.work70;

/**
 * 农民
 */
public class Farmer extends People implements Mine,Treat,Attack{
    public Farmer(){}
    public Farmer(String name,int lvevl){
        super(name,lvevl);
    }
    @Override
    public void mine() {
        System.out.println("可以采矿");
    }
    @Override
    public void treat() {
        System.out.println("可以治疗");
    }

    @Override
    public void attack() {
        System.out.println("可以攻击");
    }
}
